package com.moon.game.vos;

import java.util.HashMap;
import java.util.Map;

import com.moon.game.constants.GBaseObject;

/**
 * @description 战斗结果
 * @author Ranger 作者 E-mail:haozi000005@163.com
 * @version 创建时间：2012-5-11 上午11:25:23
 */
public class FightResult extends GBaseObject{
	private int status;//战斗结果状态;0战斗成功,1怪物已经被别人抢走,2您的位置参数错误,3怪物已经不存在
	private int srcHp;
	private int srcCurHp;
	private int srcMp;
	private int srcCurMp;
	private int dstHp;
	private int dstCurHp;
	private int dstMp;
	private int dstCurMp;
	private int srcHurtHp;
	private int srcConsumeMp;
	private int dstHurtHp;
	private int dstConsumeMp;
	private int affect;//特殊效果，无叠加
	private int money;
	private Map<Integer, Integer> items = new HashMap<Integer, Integer>();//掉落的物品列表<itemId,num>
	public int getMoney() {
		return money;
	}
	public void setMoney(int money) {
		this.money = money;
	}
	public int getStatus() {
		return status;
	}
	public Map<Integer, Integer> getItems() {
		return items;
	}
	public void addItem(int itemId, int num) {
		if (items.get(itemId) == null) {
			items.put(itemId, num);
		}else {
			items.put(itemId, items.get(itemId) + num);
		}
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public int getSrcHp() {
		return srcHp;
	}
	public void setSrcHp(int srcHp) {
		this.srcHp = srcHp;
	}
	public int getSrcCurHp() {
		return srcCurHp;
	}
	public void setSrcCurHp(int srcCurHp) {
		this.srcCurHp = srcCurHp;
	}
	public int getSrcMp() {
		return srcMp;
	}
	public void setSrcMp(int srcMp) {
		this.srcMp = srcMp;
	}
	public int getSrcCurMp() {
		return srcCurMp;
	}
	public void setSrcCurMp(int srcCurMp) {
		this.srcCurMp = srcCurMp;
	}
	public int getDstHp() {
		return dstHp;
	}
	public void setDstHp(int dstHp) {
		this.dstHp = dstHp;
	}
	public int getDstCurHp() {
		return dstCurHp;
	}
	public void setDstCurHp(int dstCurHp) {
		this.dstCurHp = dstCurHp;
	}
	public int getDstMp() {
		return dstMp;
	}
	public void setDstMp(int dstMp) {
		this.dstMp = dstMp;
	}
	public int getDstCurMp() {
		return dstCurMp;
	}
	public void setDstCurMp(int dstCurMp) {
		this.dstCurMp = dstCurMp;
	}
	public int getSrcHurtHp() {
		return srcHurtHp;
	}
	public void setSrcHurtHp(int srcHurtHp) {
		this.srcHurtHp = srcHurtHp;
	}
	public int getSrcConsumeMp() {
		return srcConsumeMp;
	}
	public void setSrcConsumeMp(int srcConsumeMp) {
		this.srcConsumeMp = srcConsumeMp;
	}
	public int getDstHurtHp() {
		return dstHurtHp;
	}
	public void setDstHurtHp(int dstHurtHp) {
		this.dstHurtHp = dstHurtHp;
	}
	public int getDstConsumeMp() {
		return dstConsumeMp;
	}
	public void setDstConsumeMp(int dstConsumeMp) {
		this.dstConsumeMp = dstConsumeMp;
	}
	public int getAffect() {
		return affect;
	}
	public void setAffect(int affect) {
		this.affect = affect;
	}
}
